﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CardLogistics.Model.PutOutCard
{
    /// <summary>
    ///半成品/成品调拨出库_实体类
    /// </summary>
    [Serializable]
    public partial class PutOutAllocation
    {
        public PutOutAllocation()
        { }
        #region Model
        private string _id = "sys_guid";
        private string _putoutallocationno;
        private string _putinallocationid;
        private DateTime? _allocationdate;
        private decimal? _allocationnumber;
        private string _leadingmechanism;
        private string _remarks;
        private string _lastupdateuser;
        private DateTime? _lastupdatedate;
        private decimal? _isdelete = 0M;
        private DateTime? _addtime;

        private string _putinallocationno; //调拨入库单号
        private string _salesname; //领用机构

        /// <summary>
        /// 半成品/成品卡调拨入库主键
        /// </summary>
        public string ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 调拨出库单号
        /// </summary>
        public string PUTOUTALLOCATIONNO
        {
            set { _putoutallocationno = value; }
            get { return _putoutallocationno; }
        }
        /// <summary>
        /// 调拨入库单号  半成品/成品卡调拨入库表PUTINALLOCATION外键
        /// </summary>
        public string PUTINALLOCATIONID
        {
            set { _putinallocationid = value; }
            get { return _putinallocationid; }
        }
        /// <summary>
        /// 出库时间
        /// </summary>
        public DateTime? ALLOCATIONDATE
        {
            set { _allocationdate = value; }
            get { return _allocationdate; }
        }
        /// <summary>
        /// 出库数量
        /// </summary>
        public decimal? ALLOCATIONNUMBER
        {
            set { _allocationnumber = value; }
            get { return _allocationnumber; }
        }
        /// <summary>
        /// 领用机构
        /// </summary>
        public string LEADINGMECHANISM
        {
            set { _leadingmechanism = value; }
            get { return _leadingmechanism; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string REMARKS
        {
            set { _remarks = value; }
            get { return _remarks; }
        }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public string LASTUPDATEUSER
        {
            set { _lastupdateuser = value; }
            get { return _lastupdateuser; }
        }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime? LASTUPDATEDATE
        {
            set { _lastupdatedate = value; }
            get { return _lastupdatedate; }
        }
        /// <summary>
        /// 0 未删除 1 已删除
        /// </summary>
        public decimal? ISDELETE
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? ADDTIME
        {
            set { _addtime = value; }
            get { return _addtime; }
        }

        /// <summary>
        /// 调拨入库单号
        /// </summary>
        public string PutInAllocationNo
        {
            get { return _putinallocationno; }
            set { _putinallocationno = value; }
        }

         /// <summary>
        ///  领用机构
        /// </summary>
        public string Salesname
        {
            get { return _salesname; }
            set { _salesname = value; }
        }

        /// <summary>
        /// 0 未提交 1 待审核 2 审核中 3 驳回 4 审核不通过 5审核通过
        /// </summary>
        public int IsSubmit
        {
            get;
            set;
        }
        #endregion Model
    }
}
